package rabiaband.rabiaplayer;

import android.R;
import android.app.Activity;
import android.media.AudioManager;
import android.media.SoundPool;
import android.os.Bundle;

public class RabiaplayerActivity extends Activity {

	private SoundPool soundManager;
	private int soundBeep;


	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);

		soundManager = new SoundPool(5, AudioManager.STREAM_RING, 0);
		soundBeep = soundManager.load(getApplicationContext(), R.raw.beep, 1);

		soundManager.play(soundBeep, 1f, 1f, 0, -1, 1f);
	}

}